import { getRequest, getNoAuthRequest} from '@/libs/axios';

export const getMyInfoData = (params) => {
    return getRequest('/appletsOaLogin/info', params)
}
export const getAllPositionList = (params) => {
	return getNoAuthRequest('/supermarketArea/getAllOnWeb', params)
}
export const getAllPositionList2 = (params) => {
	return getNoAuthRequest('/supermarketShelves/getAllOnWeb', params)
}
export const getAllPositionList3 = (params) => {
	return getNoAuthRequest('/commodityType/getAllOnWeb', params)
}
export const getAllPositionList4 = (params) => {
	return getNoAuthRequest('/commodity/getAllOnWeb', params)
}
export const loginOnWeb = (params) => {
	return getNoAuthRequest('/superUser/loginOnWeb', params)
}
export const reOnWeb = (params) => {
	return getNoAuthRequest('/superUser/reOnWeb', params)

}
export const getMyInfo = (params) => {
    return getRequest('/superUser/getMyInfo', params)
}
export const setMyInfo = (params) => {
    return getRequest('/superUser/setMyInfo', params)
}